//
// Created by sgyt on 2020/2/22.
//
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main(int argc,char *argv[])
{
    time_t time1;
    time(&time1);
    char *str = ctime(&time1);
    printf("time = [%s]\n",str);
    return 0;
}
